// index.js
Page({
  data: {
    version:''
  },
  onLoad(options) {
    const accountInfo = wx.getAccountInfoSync();
    this.setData({
      version: accountInfo.miniProgram.version
    })
  },
  toWaterCamera(e) {
    const index = e.currentTarget.dataset.index;

    wx.navigateTo({
      url: '/pages/water-camera/water-camera?index=' + index,
    })
  },
  onShareAppMessage() {

  },
  onShareTimeline() {

  }
})
